package cn.itsource.org.mapper;

import cn.itsource.basic.mysuper.MyBaseMapper;
import cn.itsource.org.domain.Employee;
import cn.itsource.org.domain.Shop;

import java.util.List;

public interface ShopMapper extends MyBaseMapper<Shop>  {
    //一定要重写这个方法
    default  Class<Shop> getTClass(){
        return Shop.class;
    }

    default Shop findByshopId(Long shopId){
        return this.selectByPrimaryKey(shopId);
    };
}
